{extend name="layout" /}

{block name="main"}
<div class="wrapper wrapper-content  animated fadeInRight">
	<div class="alert alert-danger">
        规则通常对应一个控制器的方法,同时左侧的菜单栏数据也从规则中体现,通常建议通过命令行进行生成规则节点
    </div>
    <div class="row">
        <div class="col-sm-4">
            <div id="nestable-menu">
            	<a href="{:url('add')}" class="btn btn-blue btn-sm">新增</a>
                <button type="button" data-action="expand-all" class="btn btn-white btn-sm">展开所有</button>
                <button type="button" data-action="collapse-all" class="btn btn-white btn-sm">收起所有</button>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox ">
                
                <div class="ibox-content">
                    <div class="dd" id="nestable2">
                        <ol class="dd-list">
                            {$menus}
                        </ol>
                    </div>
                </div>

            </div>
        </div>
    </div>
</div>
{/block}